package com.pxmeta.party.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pxmeta.party.entity.Party;
import com.pxmeta.party.entity.PartyUser;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 语聊派对表 Mapper 接口
 * </p>
 *
 * @author wcl
 * @since 2022-06-25
 */
public interface PartyMapper extends BaseMapper<Party> {

    Integer getCount();

    PartyUser getOne(@Param("userId") Long userId, @Param("partyId") String partyId);
}
